Skip to content

Add descriptive docstring for _get_phases in CZLayerGate#467

Merged
mhucka merged 2 commits into
quantumlib:mainfrom
mhucka:add-docstring-get-phases-2613680561594846680
Apr 15, 2026
Merged

Add descriptive docstring for _get_phases in CZLayerGate#467
mhucka merged 2 commits into
quantumlib:mainfrom
mhucka:add-docstring-get-phases-2613680561594846680

Conversation

@mhucka
Copy link
Copy Markdown
Collaborator

@mhucka mhucka commented Mar 26, 2026

Replaced the "TODO" docstring with a detailed description of the parameters and return value for the _get_phases method, clarifying its role in the CZLayerGate's decomposition.

mhucka and others added 2 commits March 26, 2026 03:02
Replaced the "TODO" docstring with a detailed description of the
parameters and return value for the _get_phases method, clarifying
its role in the CZLayerGate's decomposition.
@mhucka mhucka requested a review from dstrain115 April 15, 2026 22:38
@mhucka mhucka added this pull request to the merge queue Apr 15, 2026
Merged via the queue into quantumlib:main with commit dfa69e6 Apr 15, 2026
11 checks passed
@mhucka mhucka deleted the add-docstring-get-phases-2613680561594846680 branch April 15, 2026 23:13
shashwatk1998 pushed a commit to shashwatk1998/ReCirq that referenced this pull request Apr 21, 2026
…#467)

Replaced the "TODO" docstring with a detailed description of the
parameters and return value for the _get_phases method, clarifying
its role in the CZLayerGate's decomposition.
mhucka added a commit to mhucka/ReCirq that referenced this pull request Apr 23, 2026
* Add RCS experiment

* typo

* fix docstrings

* Add Gemini Code Assist config file (quantumlib#462)

This configures Gemini Code Assist to be a little bit less noisy and
verbose. Based on experiences with other repos, I find this makes Gemini
more useful.

* addressed comments

* Fix incompatible return value found by typecheck

And make it bit more apparent how is `RCSResults._fidelities_lin` set.

Fixes  mypy recirq/random_circuit_sampling | grep random_circuit

* Update recirq/random_circuit_sampling/rcs_experiment.py

Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>

* Update recirq/random_circuit_sampling/rcs_experiment.py

Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>

* Update recirq/random_circuit_sampling/rcs_experiment.py

Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>

* addressed Alexis's comments

* docs: add demonstration notebook for RCS and XEB analysis

* update characterize_pairs and add a test for it using ideal fSim gates

* addressed the comments on the notebook

* Add descriptive docstring for _get_phases in CZLayerGate. (quantumlib#467)

Replaced the "TODO" docstring with a detailed description of the
parameters and return value for the _get_phases method, clarifying
its role in the CZLayerGate's decomposition.

* Update Scorecard workflow (quantumlib#471)

This updates the workflow to the latest version used in our other
projects. It fixes a number of flaws, such as the use of a merge group
trigger (which causes errors when Scorecard is run on a branch).

* Remove no-longer-used dev_tools/docs/sphinx/ (quantumlib#472)

* addressed comments

* Improved the introduction and added a conclusion

---------

Co-authored-by: Shashwat Kumar <kshashwat@google.com>
Co-authored-by: Michael Hucka <mhucka@google.com>
Co-authored-by: Pavol Juhas <juhas@google.com>
Co-authored-by: Pavol Juhas <pavol.juhas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants